package elcs.board.model;

import org.springframework.web.multipart.MultipartFile;

public class BoardVO {
	private int no;
	private String id;
	private String category;
	private String head;
	private String title;
	private String content;
	private int countView;
	private String writeDate;
	private int ref;
	private int restep;
	private int relevel;
	private MultipartFile uploadFile;//업로드 파일
	private String orgfilename;//업로드한 원본파일명
	private String newfilename;//시간_파일명  저장할 변경파일명 
	public BoardVO() {
		super();
		// TODO Auto-generated constructor stub
	}
	public BoardVO(int no, String id, String category, String head,
			String title, String content, int countView, String writeDate,
			int ref, int restep, int relevel, MultipartFile uploadFile,
			String orgfilename, String newfilename) {
		super();
		this.no = no;
		this.id = id;
		this.category = category;
		this.head = head;
		this.title = title;
		this.content = content;
		this.countView = countView;
		this.writeDate = writeDate;
		this.ref = ref;
		this.restep = restep;
		this.relevel = relevel;
		this.uploadFile = uploadFile;
		this.orgfilename = orgfilename;
		this.newfilename = newfilename;
	}
	public int getNo() {
		return no;
	}
	public void setNo(int no) {
		this.no = no;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getHead() {
		return head;
	}
	public void setHead(String head) {
		this.head = head;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getCountView() {
		return countView;
	}
	public void setCountView(int countView) {
		this.countView = countView;
	}
	public String getWriteDate() {
		return writeDate;
	}
	public void setWriteDate(String writeDate) {
		this.writeDate = writeDate;
	}
	public int getRef() {
		return ref;
	}
	public void setRef(int ref) {
		this.ref = ref;
	}
	public int getRestep() {
		return restep;
	}
	public void setRestep(int restep) {
		this.restep = restep;
	}
	public int getRelevel() {
		return relevel;
	}
	public void setRelevel(int relevel) {
		this.relevel = relevel;
	}
	public MultipartFile getUploadFile() {
		return uploadFile;
	}
	public void setUploadFile(MultipartFile uploadFile) {
		this.uploadFile = uploadFile;
	}
	public String getOrgfilename() {
		return orgfilename;
	}
	public void setOrgfilename(String orgfilename) {
		this.orgfilename = orgfilename;
	}
	public String getNewfilename() {
		return newfilename;
	}
	public void setNewfilename(String newfilename) {
		this.newfilename = newfilename;
	}
	@Override
	public String toString() {
		return "BoardVO [no=" + no + ", id=" + id + ", category=" + category
				+ ", head=" + head + ", title=" + title + ", content="
				+ content + ", countView=" + countView + ", writeDate="
				+ writeDate + ", ref=" + ref + ", restep=" + restep
				+ ", relevel=" + relevel + ", uploadFile=" + uploadFile
				+ ", orgfilename=" + orgfilename + ", newfilename="
				+ newfilename + "]";
	}
	
	
	
	

}
